include $(RTMEUSDIR)/src/Makefile.generic

TARGET = SoftRealtimePeriodicExecutionContext
OBJFILES = $(TARGET).o
OBJS     = $(addprefix $(OBJDIR)/, $(OBJFILES)) 
         
TARGETLIB = $(LIBDIR)/$(TARGET).so

all: $(TARGETLIB) 

$(OBJDIR)/$(TARGET).o: $(TARGET).cpp $(TARGET).h
	$(CXX) -c $(CXXFLAGS) -o $@ $<

$(TARGETLIB): $(OBJS)
	$(CXX) $(SHFLAGS) $(LDFLAGS) -o $@ $(OBJS)

clean:
	rm -rf *~ $(OBJS) $(TARGETLIB)